# -*- coding:utf-8 -*-
# @Author: zh
# @Time: 2021/4/28 16:09
# @Description:
from PyQt5.QtGui import QIcon
from PyQt5.QtWidgets import QApplication, QMainWindow

class FirstMainWindow(QMainWindow):
    def __init__(self,parent = None):
        super().__init__(parent)

        self.setWindowTitle("第一个窗口")
        self.resize(600,500)
        self.status = self.statusBar()
        self.status.showMessage("存在3秒的消息",3000)


if __name__ == "__main__":
    app = QApplication([])
    app.setWindowIcon(QIcon('./images/Dragon.ico'))
    main = FirstMainWindow()
    main.show()
    app.exec_()
